package com.gxa.insurance.service;

import com.gxa.insurance.exception.BusinessException;
import com.gxa.insurance.pojo.Salary;

import java.util.Map;

/**
 * @author Min
 */
public interface SalaryService {
    /**
     * 插入工资信息
     * @param salary
     * @return
     */
    Integer insertSalaryMessage(Salary salary) throws BusinessException;

    Map<String, Object> selectAllSalary(Integer page, Integer pageSize);
}
